// 负责所有全局组建的注册

import PageTools from '@/components/PageTools'
import UpdateExcel from './UpdateExcel'
import ImageUpdate from './ImageUpdate'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Print from 'vue-print-nb' // 引入打印预览插件

export default {
  install(vue) {
    vue.component('PageTools', PageTools)
    vue.component('UpdateExcel', UpdateExcel)
    vue.component('ImageUpdate', ImageUpdate)
    vue.component('ScreenFull', ScreenFull)
    vue.component('ThemePicker', ThemePicker)
    vue.use(Print) // 注册打印预览插件
  }
}
